﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;

namespace MediaAdmin.Application.Config
{
    public class StorageSettings : ConfigurationSection
    {
        [ConfigurationProperty("StorageConnectionString", IsRequired = true)]
        public string StorageConnectionString
        {
            get
            {
                return this["StorageConnectionString"] as string;
            }
        }

        [ConfigurationProperty("MediaAccount", IsRequired = true)]
        public string MediaAccount
        {
            get
            {
                return this["MediaAccount"] as string;
            }
        }

        [ConfigurationProperty("MediaKey", IsRequired = true)]
        public string MediaKey
        {
            get
            {
                return this["MediaKey"] as string;
            }
        }
                
    }

}